package com.tencent.yumeko;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("RouterProducerService")
public interface ProducerRouterService {
    @PostMapping("/producer/info")
    String info(@RequestParam("name") String name, @RequestBody User user);
}
